/* Set the selection colors for all widgets.*/


@defaultTextColor = rgb(0, 170, 255);
@lightBkgndColor =  rgb(240, 240, 240);
@darkBkgndColor =   rgb(172, 247, 255);
@borderColor =     #00FFFF;
@decorationColor = rgb(0,255,255);


QDialog,QMessageBox,QFileDialog{
  border: 1px solid #FF0000;
  background-color: darkGray
}

QMessageBox>QPushButton, QFileDialog>QPushButton{ 
   border: none;
   padding: 5px;
   color: black;
   background-color: qlineargradient(spread:pad, x1:0.477, y1:0.034, x2:0.472, y2:1, stop:0 rgba(0, 0, 0, 255), stop:0.551136 rgba(115, 113, 115, 255), stop:1 rgba(0, 0, 0, 255));
}

QFrame#ctrlFrame,QFrame#visFrame,NewQueryDlg>QFrame {
    color: @defaultTextColor;
    border-radius: 5px;
    border: 1px solid @borderColor
    background-color: @lightBkgndColor
}

QFrame#playControlFrame
{
   border-radius: 5px;
   border: 1px solid @borderColor;
   background-color: #404040;
}


QListWidget {
   color: rgb(207,164,64);
   border-radius: 5px;
   border: 1px solid @borderColor;
   background-color: #404040;
}

QMainWindow {
    background-color: @lightBkgndColor;
}

QMainWindow::separator {
     background: rgb(0, 100, 100);
     width: 3px; /* when vertical */
     height: 3px; /* when horizontal */
 }

QMainWindow::separator:hover {
     background:  @decorationColor;
 }

QDockWidget{
    color: black;
    border: 1px solid  @darkBkgndColor;

}

QTableView QTableCornerButton::section {
     background-color: qradialgradient(spread:pad, cx:0, cy:0, radius:0.996, fx:0, fy:0, stop:0 rgba(0, 255, 255, 255), stop:0.335227 rgba(0, 85,85, 255), stop:0.892045 rgb(255,255,255));
     border: 1px solid rgba(0, 0, 0, 0);
     border-bottom-color:black;
     border-right-color:black;
}


QSplitter::handle:vertical {
    background-color:qlineargradient(spread:reflect, x1:0.994455, y1:0.472, x2:0.5, y2:0.471591, stop:0 rgba(159, 79, 32, 255), stop:0.465909 rgba(199, 194, 45, 255), stop:0.948864 rgba(255, 255, 0, 255));
    height: 7px; 
}


QHeaderView::section {
    color:  rgb(100, 98, 60);
    background-color: rgb(255, 253, 216); 
}





QTableWidget {
    color: @defaultTextColor;
    border-radius: 5px;
    border: 1px solid @borderColor;
    alternate-background-color: @lightBkgndColor;
    background: @darkBkgndColor; 
}


QTableWidget#twDone,QTableWidget#twQueued {
   qproperty-ctrlImages: ":/images/player-play-7.png;:/images/player-stop-7.png";
   background-color: #C8C8C8;
   alternate-background-color: #D0D0D0;
   color: rgb(0, 0, 80);
}




QTableWidget#twPlay {
   background-color:#C0C0C0;
   color: blue;
  
}

TrackPropertyDlg{
   color: black;
   background-color: qlineargradient(spread:pad, x1:0.477, y1:0.034, x2:0.472, y2:1, stop:0 rgba(0, 0, 0, 255), stop:0.551136 rgba(115, 113, 115, 255), stop:1 rgba(0, 0, 0, 255));
}

QTreeWidget {
    color: @defaultTextColor
    border-radius: 5px;
    border: 1px solid @borderColor;
    background-color: @lightBkgndColor;
}



QTabBar::tab {
    color: @defaultTextColor;
    background-color: @lightBkgndColor;
    border: 1px solid rgb(120, 120, 120);
    min-width: 100;
    min-height: 20;
    alignment:  left;
}

QTabBar::tab:selected {
    color: rgb(207,164,64);
    border: 1px solid rgb(255, 255, 255);
    background-color: @lightBkgndColor;
}






QWidget#dockWidgetArea {
    color: @lightBkgndColor;
    background-color: @darkGray;
}

QWidget#PlayerColorOptTab {
        background-color: @lightBkgndColor;
}


QDockWidget {
       background-color: @darkGray;
}


QDockWidget::title {
    color: black;
    background-color: @lightBkgndColor;
}



 
QPushButtonShadow {  
   border-radius: 5px;
   color: @darkBkgndColor;
   background-color: qlineargradient(spread:pad, x1:0.477, y1:0.034, x2:0.472, y2:1, stop:0 rgba(0, 0, 0, 255), stop:0.551136 rgba(115, 113, 115, 255), stop:1 rgba(0, 0, 0, 255));
}

QPushButton { 
   border-radius: 3px;
   border: none;
   padding-left:5px;
   padding-right:5px;
   color: @darkBkgndColor;
   background-color: qradialgradient(spread:pad, cx:0.5, cy:0.5, radius:0.5, fx:0.5, fy:0.5, stop:0 rgba(109, 241, 253, 255), stop:1 rgba(0, 93, 139, 255));

}

QPushButton:disabled {
     border-radius: 3px;
     border: none;
     padding-left:5px;
     padding-right:5px;
     color: rgb(155, 45, 0);
     background-color:  #808080;
 }


QPushButton:pressed {
     border-radius: 3px;
     border: none;
     padding-left:5px;
     padding-right:5px;
     background-color:  #808080;
 }

QPushButton:checked {
     background-color: rgb(209, 209, 209);
     border-style: inset;
     border: 2px solid @defaultTextColor;
 }


Player {
     qproperty-ctrlImages: ":/images/player_play_b1.png;:/images/player_pause_b2.png;:/images/player_next_b1.png;:/images/player_stop_r1_64.png;:/images/arrow32.png";
     qproperty-glowColor:  @decorationColor; 
     background-color: #404040;
}

QPushButton#pbMiddle {
     border-image: url(:/images/arrow32.png);
}


DropLabelShadow {
   qproperty-glowColor: #00FF80;
   qproperty-glowEnabled: 1;
   color: @darkBkgndColor;
   background-color: @lightBkgndColor;
}


QLabel#label_5,QLabel#label_6,QLabel#label_7,QLabel#label,QLabel#lbWait,QLabel#lbPlayTime,QLabel#lbRemTime{
  color:  @darkBkgndColor;
}

QLabel,QCheckBox,QRadioButton {
   color: @defaultTextColor;
}





QMenu ,QTableWidget::QMenu{
     background-color: @darkBkgndColor;
     border-radius: 5px;
     color: @defaultTextColor;
     border: 1px solid  @defaultTextColor;
 }

QMenu::item:selected  {
     color: rgb(255, 107, 33);
     background: rgb(70, 70, 70);
 }


QScrollBar:horizontal{
     border: none;
     background: rgb(208, 249, 255);
     height: 18px;
     margin: 0px 20px 0px 20px;
}

QScrollBar::sub-line:horizontal {
    
    width: 20px;
    subcontrol-position: left;
    subcontrol-origin: margin;
}

QScrollBar::handle:horizontal {
     background:  rgb(0, 170, 255);
     border: 1px solid black;
     width: 18px;
}

QScrollBar::add-line:horizontal {
    
    width: 20px;
    subcontrol-position: right;
    subcontrol-origin: margin;
}


QScrollBar::add-page:horizontal, QScrollBar::sub-page:horizontal { 
    margin: 20px;
    background: none;
}


QScrollBar:vertical {
    border: none;
    background: rgb(208, 249, 255);
    width: 18px;
    margin: 20px 0px 20px 0px;
}

QScrollBar::add-line:vertical {
    
    height: 20px;
    subcontrol-position: bottom;
    subcontrol-origin: margin;
}

QScrollBar::handle:vertical {
     background:  rgb(0, 170, 255);
     border: 1px solid black;
     min-height: 10px;
}

QScrollBar::add-page:vertical, QScrollBar::sub-page:vertical {
    background: none;
}

QScrollBar::sub-line:vertical {
    height: 20px;
    subcontrol-position: top;
    subcontrol-origin: margin;
}

QProgressBar {
    border: 1px solid rgb(0, 85, 127);
    background-color: qlineargradient(spread:pad, x1:0, y1:0.494227, x2:1, y2:0.517, stop:0 rgba(0, 0, 0, 255), stop:1 rgba(131, 129, 129, 255));
    border-radius: 4px;
}


QProgressBar::chunk {
    background:   qlineargradient(spread:pad, x1:0.499273, y1:0.045, x2:0.5, y2:0.932364, stop:0.159091 rgba(36, 36, 36, 255), stop:0.517045 rgba(170, 170, 255, 255), stop:1 rgba(65, 129, 129, 255));
    border-top-right-radius: 4px;
    border-bottom-right-radius: 2px;
    border: 1px solid black;
}

QDialog#ID3MultEditDlg QCheckBox{
   color: @defaultTextColor;
}

CollectionTable,QueryTableWidget,NTableWidget{
     qproperty-ctrlImages: ":/images/player-play-7.png;:/images/player-stop-7.png";
}


VisWidget{
   /*qproperty-hotSpotTexture:  'qradialgradient(spread:pad, cx:0.5, cy:0.5, radius:0.5, fx:0.5, fy:0.5, stop:0.0625 rgba(255, 255, 255, 255), stop:0.181818 rgba(255, 255, 255, 125), stop:1 rgba(255, 255, 255, 0))';*/ 
   qproperty-hotSpotTexture: 'qradialgradient(spread:pad, cx:0.5, cy:0.5, radius:0.5, fx:0.5, fy:0.5, stop:0.0625 rgba(255, 255, 255, 255), stop:0.181818 rgba(255, 255, 0, 125), stop:1 rgba(255, 255, 255, 0))';
   qproperty-fanColor: @decorationColor;
   qproperty-volGlowColor: @decorationColor;
   qproperty-wbLineColor:  white;
   qproperty-wbbkgnd: 'background-color: qlineargradient(spread:reflect, x1:0.483, y1:0.511, x2:0.477, y2:1, stop:0 rgba(0, 226, 226, 255), stop:0.679775 rgba(102, 190, 190, 255), stop:1 rgba(255, 255, 255, 255))'; 
   qproperty-backcolor: @darkBkgndColor;
   qproperty-peekMeterBkgnd: ' qlineargradient(spread:pad, x1:0.483, y1:1, x2:0.489, y2:0, stop:0 rgba(0, 85, 255, 255), stop:0.681818 rgba(0, 255, 255, 255), stop:1 rgba(243, 255, 0, 255));';
   qproperty-backcolor:@lightBkgndColor;
}

RunLabel{
   qproperty-textColor: @defaultTextColor;
   qproperty-backColor: @lightBkgndColor;
}